{extend name="common/base" }

{block name="style"}
<style type="text/css">

</style>
{/block}

{block name="content"}
<div class="am-g">
	<div class="am-u-sm-12">
		<form class="am-form ajax-form" method="post" action="{:module_url('add')}">

            {$widget->form('text', ['title' => '视频名称', 'name' => 'video_name', 'value' => ''])}
            
            {$widget->form('text', ['title' => '视频标题', 'name' => 'video_title', 'value' => ''])}

            {$widget->form('tag', ['title' => '视频标签', 'name' => 'tag', 'value' => ''])}

            {$widget->form('textarea', ['title' => '视频描述', 'name' => 'video_desc', 'value' => ''])}

            {$widget->form('radio', ['title' => '视频类型', 'name' => 'video_type', 'value' => 1, 'list' => $videoType])}

            {$widget->form('radio', ['title' => '播放方式', 'name' => 'play_type', 'value' => 1, 'list' => $playType])}

            {$widget->form('select', ['title' => '视频分类', 'name' => 'cate_id', 'value' => '', 'list' => $videoCate ])}

            {$widget->form('image', ['title' => '视频封面', 'name' => 'cover', 'value' => ''])}

            {$widget->form('image', ['title' => '预览GIF图', 'name' => 'preview', 'value' => ''])}

            {$widget->form('text', ['title' => '教师讲师', 'name' => 'teacher', 'value' => ''])}

            {$widget->form('text', ['title' => '总章节数', 'name' => 'count_chapter', 'value' => ''])}

            {$widget->form('text', ['title' => '排序', 'name' => 'sort', 'value' => ''])}

            {$widget->form('radio', ['title' => '状态', 'name' => 'status', 'value' => 1, 'list' => $videoStatus])}

			{$widget->form('submit', ['title' => '用户操作'])}

		</form>
	</div>
</div>
{/block}

{block name="script"}
<script type="text/javascript">
	$(function(){
	
	});
</script>
{/block}